package com.taysear.domain;

import java.io.Serializable;
import java.math.BigDecimal;

@SuppressWarnings("serial")
public class BusFare implements Serializable{

	private Integer busFareId;
	private Integer fromSubstation;
	private Integer toSubstation;
	private BigDecimal amount;
	private String currencyName;
	
	public Integer getBusFareId() {
		return busFareId;
	}
	public void setBusFareId(Integer busFareId) {
		this.busFareId = busFareId;
	}
	public Integer getFromSubstation() {
		return fromSubstation;
	}
	public void setFromSubstation(Integer fromSubstation) {
		this.fromSubstation = fromSubstation;
	}
	public Integer getToSubstation() {
		return toSubstation;
	}
	public void setToSubstation(Integer toSubstation) {
		this.toSubstation = toSubstation;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public String getCurrencyName() {
		return currencyName;
	}
	public void setCurrencyName(String currencyName) {
		this.currencyName = currencyName;
	}
	@Override
	public String toString() {
		return amount +" "+ currencyName;
	}
}
